package com.wteam.PoJo.VO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-08-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_reply_comment")
@ApiModel(value="ReplyComment对象", description="")
public class ReplyCommentVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "回复表id")
    private Long id;

    @ApiModelProperty(value = "一级评论表id")
    private Long commentId;

    @ApiModelProperty(value = "评论者id")
    private Long userId;

    @ApiModelProperty(value = "评论者的用户名")
    private String userName;

    @ApiModelProperty(value = "评论者的头像")
    private String userAvatar;

    @ApiModelProperty(value = "被评论者id")
    private Long commentUserId;

    @ApiModelProperty(value = "被评论者的用户名")
    private String commentUserName;

    @ApiModelProperty(value = "被评论者的头像")
    private String commentUserAvatar;


    @ApiModelProperty(value = "评论内容")
    private String content;

    @ApiModelProperty(value = "点赞量")
    private Integer likes;

    @ApiModelProperty(value = "回复量")
    private Integer replies;

    private LocalDateTime createTime;

    private Integer updateTime;

    @ApiModelProperty(value = "点赞标志（true为有点赞，false相反）")
    private Boolean mylike=false;


}
